import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/components/Index'
import Courses from '@/components/Courses'
import Paths from '@/components/Paths'
import Questions from '@/components/Questions'
import Bootcamp from '@/components/Bootcamp'
import Vip from '@/components/Vip'
import Show from '@/components/Show'
import Pathshow from '@/components/Pathshow'
import CourseDetail from '@/components/CourseDetail'
import Cshow from '@/components/Cshow'
import bindMobile from '@/components/bindMobile'
import updateToken from '@/components/updateToken'
import course from '@/components/admin/course'
import cart from '@/components/cart'
import Fylx from '@/components/Fylx'

Vue.use(Router)

export default new Router({
    routes: [{
        path: '/',
        name: 'Index',
        component: Index
    }, {
        path: '/courses',
        name: 'Courses',
        component: Courses
    }, {
        path: '/paths',
        name: 'Paths',
        component: Paths
    }, {
        path: '/questions',
        name: 'Questions',
        component: Questions
    }, {
        path: '/bootcamp',
        name: 'Bootcamp',
        component: Bootcamp
    }, {
        path: '/vip',
        name: 'Vip',
        component: Vip
    }, {
        path: '/show',
        name: 'Show',
        component: Show
    }, {
        path: '/pathshow',
        name: 'Pathshow',
        component: Pathshow
    }, {
        path: '/courseDetail',
        name: 'CourseDetail',
        component: CourseDetail
    }, {
        path: '/cshow',
        name: 'Cshow',
        component: Cshow
    }, {
        path: '/bindMobile',
        name: 'bindMobile',
        component: bindMobile
    },{
        path: '/updateToken',
        name: 'updateToken',
        component: updateToken
    },{
        path: '/course',
        name: 'course',
        component: course
    },{
        path: '/cart',
        name: 'cart',
        component: cart
    },{
        path: '/Fylx',
        name: 'Fylx',
        component: Fylx
    }]
})